<template>
  <div class="typeList">
    <h3>{{title}}分类</h3>
    <slot name="center">具名插槽</slot>
    <slot name="footer">具名插槽</slot>
  </div>
</template>

<script>
export default {
    name:'Category',
    props:['title','listData']
}
</script>

<style>
    .typeList{
        width: 200px;
        height: 300px;
        background-color: lightblue;
    }
    .typeList h3{
        text-align: center;
        background-color: lightgreen;
    }
</style>